<?php
/*
文件名:page.index.html
编译日期:2013-08-14 14:17:47
文件大小:2.08KB
作者:边缘狂人, QQ:124181646*/
?><?php include(APP_PATH."data/compile/admin^header.inc.html"); ?>
<script>
function del(sid)
{
	if(!confirm('<?php echo $lang["comm"]["delete_alert"];?> 一旦删除,无法恢复')){
		return false;
	}
	$.post('<?php echo __smarty__url(array('m'=>"dodel")); ?>',{id:sid},function(data){
			/*alert('<?php echo $lang["sys"]["ok"];?>');			
			alert(data);*/
			self.location.reload();			
	});	

}
</script>

<span style="float:right;;">
  <!--<input type="button" value="<?php echo $lang["comm"]["add"];?>" onclick="pop('<?php echo __smarty__url(array('m'=>'add')); ?>',{'height':250})" class="button"/>-->
</span>

<span style="float:right">
  <input type="button" value="小文字管理" onclick="self.location.href='<?php echo __smarty__url(array('m'=>'text')); ?>'" class="button"/>&nbsp;
  </span>
<div class="clear"></div>


<div style="clear:both"></div>


<form action="<?php echo __smarty__url(array('m'=>'dosetup')); ?>" method="post"  onSubmit="return Validator.Validate(this,2)">

<div class="list-div" id="listDiv">


  <table cellpadding="3" cellspacing="1">
    


	<tr>
        <th  class="td1">序号</th> 
        <th  class="td1">页面名称</th> 
        <th  class="td1">页面链接</th> 
       
        <th  class="td1">操作</th> 
     </tr> 

	
	<?php foreach( $rs as $k => $v){?>
	 <tr id="tr_<?php echo $v["id"];?>">
        <td  class="td1"><?php echo $v["porder"];?></td> 
        <td  class="td1"><?php echo $v["name"];?></td> 
        <td  class="td1"><a href="<?php echo APP_U_P; echo $v["tag"];?>.html" target="_blank"><?php echo $v["tag"];?>.html</a></td> 
		
		<td  class="td1">
		
		<a href='<?php echo __smarty__url(array('m'=>'edit','id'=>$v['id'])); ?>'><?php echo $lang["comm"]["edit"];?></a>
		&nbsp;
		<a href='#' onclick="pop('<?php echo __smarty_url(array('c'=>'nav','m'=>'edit','id'=>$v['id'])); ?>',{'height':450,'width':400})">属性编辑</a>
		</td> 
		 
     </tr> 

	 <?php } ?>

	
	 
	

	 
	
     
   
  </table>
</div>	  
</form>
  


<?php include(APP_PATH."data/compile/admin^footer.inc.html"); ?>